import request from '@/utils/request'

// 查询色谱速率理论列表
export function listTdmLiLunt(query) {
  return request({
    url: '/tdm/TdmLiLunt/list',
    method: 'get',
    params: query
  })
}

// 查询色谱速率理论详细
export function getTdmLiLunt(id) {
  return request({
    url: '/tdm/TdmLiLunt/' + id,
    method: 'get'
  })
}

// 新增色谱速率理论
export function addTdmLiLunt(data) {
  return request({
    url: '/tdm/TdmLiLunt',
    method: 'post',
    data: data
  })
}

// 修改色谱速率理论
export function updateTdmLiLunt(data) {
  return request({
    url: '/tdm/TdmLiLunt',
    method: 'put',
    data: data
  })
}

// 删除色谱速率理论
export function delTdmLiLunt(id) {
  return request({
    url: '/tdm/TdmLiLunt/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
